package com.hifar.test.test.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hifar.model.BaseModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zhuWeiWei
 * @description 曲线记录
 * @date 2025/6/10 17:28
 */
@Data
@TableName("hf_env_test_curve_data")
public class HfEnvTestCurveData extends BaseModel {
    @ApiModelProperty("温度")
    private BigDecimal temperature;
    @ApiModelProperty("湿度")
    private BigDecimal humidity;
    @ApiModelProperty("气压")
    private BigDecimal pressure;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    @ApiModelProperty("记录时间")
    private Date recordTime;
    @ApiModelProperty("操作人")
    private String optUserName;
    @ApiModelProperty("操作人id")
    private String optUserId;

    @ApiModelProperty("试验id")
    private String testId;
}
